package com.loong.user.model;

import com.loong.common.mybatis.entity.BaseEntity;
import javax.persistence.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@Builder
@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "user_third")
public class UserThird extends BaseEntity {
    @Column(name = "user_id")
    private Long userId;

    /**
     * 唯一认证信息
     */
    private String identifier;

    private String credential;

    private Integer status;

    @Column(name = "login_type")
    private Integer loginType;

    /**
     * 验证信息扩展1
     */
    @Column(name = "identifier_extra_one")
    private String identifierExtraOne;
}